import { FC } from 'react';

interface PropsType {
  count: number;
  num?: number;
  [propname: string]: any;
}

// const Child = (props: PropsType) => {
const Child: FC<PropsType> = (props) => {
  console.log(props);

  return <div>child组件</div>;
};

export default Child;
